import {action, observable} from "mobx";

class TodoList {

    @observable username = '';
    @observable password = '';

    @action.bound
    getInfo(e){
        e.preventDefault();
        console.log(e)
    }


    @action.bound
    setUn(e){
        this.username = e.target.value;
    }


    @action.bound
    setPw(e){
        this.password = e.target.value;
    }
}
export default new TodoList();

